package org.orz.story.pms.biz.persistence.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.orz.story.pms.biz.persistence.entities.PmsRole;

import java.util.List;

/**
 * 角色表
 * 
 * @author orz
 * @email 350679778@qq.com
 * @date 2020-09-06 14:25:43
 */
@Mapper
public interface PmsRoleMapper extends BaseMapper<PmsRole> {

    List<PmsRole> listAllByPermissionId(@Param("permissionId") Long permissionId);
}
